package com.muyu.danmo.domain.es;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @author Administrator
 */
@Document(indexName = "v_danmo_person_info_all")
@Data
public class PersonInfoEs implements Serializable {

    /**
     * 个人信息id
     */
    @Id
    private String id;

    /**
     * 姓名
     */
    private String name;


    /**
     * 级别
     */
    private String grade;

    /**
     * 职位名称
     */
    private String positionName;

    /**
     * 入会省
     */
    private String addressEntry;

    /**
     * 入会市
     */
    private String addressCity;

    /**
     * 入会县
     */
    private String addressCounty;


    private String associationId;

    private String associationTypeId;

    private String positions;

    private String year;

    private String several;

    private String dynastiesId;


    private String massId;


    private String personId;


    /**
     * 名字首字母
     */
    private String firstLetter;

    /**
     * 入会省首字母
     */
    private String entryFirstLetter;

}